package com.bizhibihui.ordermeal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bizhibihui.ordermeal.entity.BizAddress;
import com.bizhibihui.ordermeal.vo.AddressConditionVo;
import com.bizhibihui.ordermeal.vo.base.BaseConditionVo;

import java.util.List;

/**
 */
public interface BizAddressService extends IService<BizAddress> {

    List<BizAddress> findByCondition(IPage<BizAddress> page, AddressConditionVo vo);

    /**
     * 查询我的收货地址
     * @param userId
     * @return
     */
    List<BizAddress> getMyAddress(String userId);
}
